<?php
    /**
     * Created by PhpStorm.
     * User: mybook-lhp
     * Date: 18/10/25
     * Time: 下午12:41
     */

    namespace app\store\api;


    use app\common\controller\API;

    class Base extends API
    {

        /**
         * 获取模块配置
         * api POST /store/base/config
         * @no_auth
         *
         * @return mixed
         */
        public function config()
        {
            $module_config                       = module_config('store');
            $module_config['pay_type']           = isset($module_config['pay_type']) ? $module_config['pay_type'] : [];
             $this->result($module_config);

        }
    }